﻿using iWare.Wms.Core;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace iWare.Wms.Application
{
    public interface IWmsMaterialService
    {
        Task Add(AddWmsMaterialInput input);
        Task Delete(DeleteWmsMaterialInput input);
        Task<WmsMaterialOutput> Get([FromQuery] QueryeWmsMaterialInput input);
        Task<List<WmsMaterialOutput>> List([FromQuery] WmsMaterialInput input);
        Task<PageResult<WmsMaterialOutput>> Page([FromQuery] WmsMaterialSearch input);
        Task Update(UpdateWmsMaterialInput input);
    }
}